import getlink from "@/api/getapi.js"
let VipZunXiangM = {
    state:{
        frees:""
    },
    mutations:{
        UPZUNXIANGDATA(state,payload){
            state.frees=payload
        }
    },
    actions:{
        LINK_ZUNXIANG_DATA(concomedy,payload){
            // console.log(context)
            getlink(payload).then((ok)=>{
                console.log(ok.data.frees,"frees")
                concomedy.commit("UPZUNXIANGDATA",ok.data.frees)
            }).catch((err)=>{
                console.log(err)
            })
        }
    }
}

export default VipZunXiangM;

 
